package 多线程的同步互斥实验数组;

public class Food {
    public int ID;

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    @Override
    public String toString() {
        return "食物编号" + ID;
    }

    public Food(int ID) {
        this.ID = ID;
    }
}
